home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / hp2xx312.lha / hp2xx312 / makes / borland.mak < prev    next >
Makefile  |  1993-04-18  |  3KB  |  166 lines

  1. ###########################################################################
  2. #    Copyright (c) 1991 - 1993 Heinz W. Werntges.  All rights reserved.
  3. #    Distributed by Free Software Foundation, Inc.
  4. #
  5. # This file is part of HP2xx.
  6. #
  7. # HP2xx is distributed in the hope that it will be useful, but
  8. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  9. # to anyone for the consequences of using it or for whether it serves any
  10. # particular purpose or works at all, unless he says so in writing.  Refer
  11. # to the GNU General Public License, Version 2 or later, for full details
  12. #
  13. # Everyone is granted permission to copy, modify and redistribute
  14. # HP2xx, but only under the conditions described in the GNU General Public
  15. # License.  A copy of this license is supposed to have been
  16. # given to you along with HP2xx so you can know your rights and
  17. # responsibilities.  It should be in a file named COPYING.  Among other
  18. # things, the copyright notice and this notice must be preserved on all
  19. # copies.
  20. ###########################################################################
  21. #
  22. # Makefile for BORLAND C++ version of hp2xx
  23. #
  24. .AUTODEPEND
  25.  
  26. #        *Translator Definitions*
  27.  
  28. # There are two versions available which you select by un-commenting
  29. # three lines and commenting out another three lines just below this
  30. # text. Remember to EITHER comment out the standard version OR the other.
  31.  
  32. # Standard version:
  33.  
  34. CC           = bcc +HP2XX.CFG -DDOS -DHAS_DOS_VGA
  35. OBJ_EXTRAS   =
  36. EXE_d_extras =
  37.  
  38. # Extended version, including modes PIC and PAC:
  39. #
  40. # CC           = bcc +HP2XX.CFG -DDOS -DHAS_DOS_VGA -DPIC_PAC
  41. # OBJ_EXTRAS   = to_pic.obj + to_pac.obj +
  42. # EXE_d_extras = to_pic.obj to_pac.obj
  43.  
  44. # No user-serviceable part below!
  45. #############################################################################
  46.  
  47.  
  48.  
  49.  
  50. TASM         = tasm
  51. TLINK        = tlink
  52.  
  53.  
  54. all:    hp2xx.exe
  55.  
  56. #        *Implicit Rules*
  57. .c.obj:
  58.   $(CC) -c {$< }
  59.  
  60. .cpp.obj:
  61.   $(CC) -c {$< }
  62.  
  63. #        *List Macros*
  64.  
  65.  
  66. EXE_dependencies =  \
  67.   hp2xx.obj \
  68.   hpgl.obj \
  69.   picbuf.obj \
  70.   to_pbm.obj \
  71.   to_img.obj \
  72.   to_mf.obj \
  73.   to_pcl.obj \
  74.   to_pcx.obj \
  75.   to_eps.obj \
  76.   to_vga.obj \
  77.   bresnham.obj \
  78.   getopt.obj \
  79.   getopt1.obj \
  80.   chardraw.obj \
  81.   $(EXE_d_extras)
  82.  
  83. #        *Explicit Rules*
  84. hp2xx.exe: hp2xx.cfg $(EXE_d_extras) $(EXE_dependencies)
  85.   $(TLINK) /v/x/c/P-/LC:\BC\LIB;C:\BC\LIB\LOCAL c0l.obj+ hp2xx.obj+ \
  86.   $(OBJ_EXTRAS) @&&|
  87. hpgl.obj+
  88. picbuf.obj+
  89. to_pbm.obj+
  90. to_img.obj+
  91. to_mf.obj+
  92. to_pcl.obj+
  93. to_pcx.obj+
  94. to_eps.obj+
  95. to_vga.obj+
  96. bresnham.obj+
  97. getopt.obj+
  98. getopt1.obj+
  99. chardraw.obj
  100. hp2xx
  101.         # no map file
  102. emu.lib+
  103. mathl.lib+
  104. cl.lib
  105. |
  106.  
  107.  
  108. #        *Individual File Dependencies*
  109. hp2xx.obj: hp2xx.c
  110.  
  111. hpgl.obj: hpgl.c
  112.  
  113. picbuf.obj: picbuf.c
  114.  
  115. to_pbm.obj: to_pbm.c
  116.  
  117. to_img.obj: to_img.c
  118.  
  119. to_mf.obj: to_mf.c
  120.  
  121. to_pcl.obj: to_pcl.c
  122.  
  123. to_pac.obj: to_pac.c
  124.  
  125. to_pic.obj: to_pic.c
  126.  
  127. to_pcx.obj: to_pcx.c
  128.  
  129. to_eps.obj: to_eps.c
  130.  
  131. to_vga.obj: to_vga.c
  132.  
  133. bresnham.obj: bresnham.c
  134.  
  135. getopt.obj: getopt.c
  136.  
  137. getopt1.obj: getopt1.c
  138.  
  139. chardraw.obj: chardraw.c
  140.  
  141. #        *Compiler Configuration File*
  142. hp2xx.cfg: borland.mak
  143.   copy &&|
  144. -ml
  145. -a
  146. -O
  147. -Z
  148. -d
  149. -H=HP2XX.SYM
  150. -wpin
  151. -wamb
  152. -wamp
  153. -wasm
  154. -wpro
  155. -wcln
  156. -wdef
  157. -wsig
  158. -wnod
  159. -wstv
  160. -wucp
  161. -wuse
  162. -IC:\BC\INCLUDE;C:\BC\INCLUDE\SHARE
  163. -LC:\BC\LIB;C:\BC\LIB\LOCAL
  164. | hp2xx.cfg
  165.  
  166.